
<form id="form" action="{:url('setting/config')}">
<div class="titlebar"><i class="iconfont icon-setup_icon"></i>系统配置</div>
<table class="formtable">
    <tr>
        <th>客服电话:</th>
        <td><input class="input" datatype="*" type="text" name="service_telephone" value="{$info.service_telephone}" /></td>
    </tr>
    <tr>
        <th>优惠券过期时间:</th>
        <td><input class="input" datatype="n" type="text" name="end_time" value="{$info.end_time}" /> 小时</td>
    </tr>
    <tr>
        <th>加入圏数量:</th>
        <td><input class="input" datatype="n" type="text" name="group_join" value="{$info.group_join}" /></td>
    </tr>
    <tr>
        <th>圏成员数量:</th>
        <td><input class="input" datatype="n" type="text" name="group_member" value="{$info.group_member}" /> 人</td>
    </tr>
    <tr>
        <th>引流分润:</th>
        <td><input class="input" datatype="n" type="text" name="profit" value="{$info.profit}" /> %</td>
    </tr>
    <tr>
        <th>买单领优惠券:</th>
        <td>
            <select class="select w180" datatype="*" name="is_pay_open_coupon" class="select">
                <option value="0" {$info.is_pay_open_coupon == 0 ? 'selected' : ''}>禁止</option>
                <option value="1" {$info.is_pay_open_coupon == 1 ? 'selected' : ''}>允许</option>
            </select>
            <span class="gray">允许买单领优惠券,顾客到店,可以选择未领取的优惠券，优惠并支付</span>
        </td>
    </tr>
<tr><th></th>
    <td>
        <input type="submit" value="确定" class="button submit" />
        <input type="reset" value="重置" class="button button-blank" />
    </td>
</tr>
</table>
</form>
<script type="text/javascript">
Do('base', 'layer', 'form', function () {
    $('#form').isForm();
})
</script>